<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">

    <title>My JSP 'viewAdmin.jsp' starting page</title>
    <link href="css/bootstrap-cerulean.css" rel="stylesheet">
    <link href="css/charisma-app.css" rel="stylesheet">
    <style type="text/css">
        body {
            padding-bottom: 40px;
        }

        .sidebar-nav {
            padding: 9px 0;
        }
    </style>
</head>

<body>
<div class="container-fluid"
     style="padding-left:0px;padding-right:2px;">
    <div class="row-fluid">
        <div id="content" class="span10" style="width:100%;">
            <div class="row-fluid sortable">
                <div class="box span12">
                    <div class="box-header well">
                        <h2>
                            <i class="icon-user"></i>班级信息
                        </h2>
                    </div>

                    <c:if test="${from.equals('student') }">
                        <div class="box-content">
                            <div id="DataTables_Table_0_wrapper" class="dataTables_wrapper">
                                <!-- <div class="row-fluid">
                                    <div class="span6">
                                        <div id="DataTables_Table_0_length" class="dataTables_length">
                                            <label>
                                            <select style="width:120px;" size="1"
                                                name="DataTables_Table_0_length"
                                                aria-controls="DataTables_Table_0">
                                                    <option value="10" selected="selected">暂无</option>
                                                    <option value="25">暂无</option>
                                                    <option value="50">暂无</option>
                                                    <option value="100">暂无</option>
                                            </select> 年级
                                            </label>
                                        </div>
                                    </div>
                                    <div class="span6">
                                        <div class="dataTables_filter" id="DataTables_Table_0_filter"
                                            style="float:right; height:30px;">
                                            <form action="searchClassByClassnumber.jsp">
                                                <input type="hidden" name="from" value="student"> <label>班级代号:
                                                    <input name="classnumber" type="text" style="height:30px;">
                                                </label>
                                            </form>
                                        </div>
                                    </div>
                                </div> -->
                                <table
                                        class="table table-striped table-bordered bootstrap-datatable datatable dataTable"
                                        id="DataTables_Table_0">
                                    <thead>
                                    <tr>
                                        <th class="sorting_asc"
                                            rowspan="1" colspan="1"
                                            style="width: 18%;">班级代号
                                        </th>
                                        <th class="sorting"
                                            rowspan="1" colspan="1"
                                            style="width: 35%;">班级名称
                                        </th>
                                        <th class="sorting"
                                            rowspan="1" colspan="1"
                                            style="width: 13%;">班长
                                        </th>
                                        <th class="sorting"
                                            rowspan="1" colspan="1"
                                            style="width: 17%;">专业
                                        </th>
                                        <th class="sorting"
                                            rowspan="1" colspan="1"
                                            style="width: 17%;">操作
                                        </th>
                                    </tr>
                                    </thead>

                                    <tbody>
                                    <tr class="odd">
                                        <td class=" sorting_1">${theclass.classnumber }</td>
                                        <td class="center ">${theclass.classname }</td>
                                        <td class="center ">${theclass.monitor }</td>
                                        <td class="center ">${theclass.majorname }</td>
                                        <td class="center ">
                                            <a class="btn btn-success" href="viewStudent.jsp"> <i
                                                    class="icon-zoom-in icon-white"></i> 查看学生</a>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </c:if>


                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
